import java.awt.*;
import java.util.*;
import java.util.List;
import javax.swing.*;

import java.awt.event.*;

public class Main extends JPanel{
	
	private Container contain = new Container();
	
	// for testing purposes only~~~~~~~~~~~~
	private addClient cli = new addClient();
	private addFeature fea = new addFeature();
	private addProject pro = new addProject();
	private addSupplier sup = new addSupplier();
	private editClient cli2 = new editClient();
	private editFeature fea2 = new editFeature();
	private editProject pro2 = new editProject();
	
	// testing purposes ends here~~~~~~~~~~~~
	
	private int temp;
	private boolean exit=false;
	
	public Main(){//constructor
		JFrame happee = new JFrame();
		happee = Happee(happee); 
		happee.add(pro);   //*****change here*******
		
		//temp=pasok.getGoNext();
		//System.out.println(temp);
		pro.Loopy();       //*****change here*******
		happee.remove(pro); //*****change here*******
		//happee = Happee(happee); 
		//happee.add(client);
		//happee.pack();
		System.out.println("REACHED HERE");
	//add different pages here
		//add lahat ng codes here
	}
	
	 private static JFrame Happee(JFrame frame){//frame attributes
		   
		    frame.setTitle("Happy Home Builders");
	        frame.setVisible(true);
	        frame.setResizable(false);
	        frame.setLocation(180, 10);
	        frame.setMinimumSize(new Dimension(1024,710));
	        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	        return frame;
	        
	    }
	
	public static void main(String args[]){
		Main ulo = new Main();
	}

}
